Page({
	data:{
		Touchstart:0,
		Touchmove:0,
		Touchend:0,
		movedata:0,

		banner:{
			imgUrls:[
			'http://www.linkloud.cn/images/01/back_05.png',
			'http://www.linkloud.cn/images/01/back_07.png',
			'http://www.linkloud.cn/images/01/back_03.png',
			'http://www.linkloud.cn/images/01/back_13.png',
			'http://www.linkloud.cn/images/01/back_12.png'
		],

		}

	},
	SwTouchstart:function(e) {
		this.setData({
			Touchstart : e.touches[0].pageX
		})



		console.log('Touchstart')
	},
	SwTouchmove:function(e) {
		var Touchmove = e.touches[0].pageX
		this.setData({
			Touchmove :Touchmove,
			movedata : Touchmove - this.data.Touchstart

		})



		
		console.log(this.data.movedata)






		console.log('Touchmove');
	},
	SwTouchend:function(e) {
		var move = this.data.movedata

		if (move >0 ) {

		}else{

		}

		// this.setData({
		// 	Touchend : e.target.touches[0].pageX
		// })

		console.log('Touchend')
	}
  

})